package com.example.pubmedcrawler.model;

import java.util.List;

public class SearchResult {
    private List<Literature> literatures;
    private int totalPages;

    public SearchResult(List<Literature> literatures, int totalPages) {
        this.literatures = literatures;
        this.totalPages = totalPages;
    }

    public List<Literature> getLiteratures() {
        return literatures;
    }

    public int getTotalPages() {
        return totalPages;
    }
}